﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HitchHikersGuideToTheGalaxy.Models
{
    /// <summary>
    /// Dataclass for Tours including Destinations
    /// </summary>
    public class TourDest
    {
        // Gögn beint úr Tours töfluni
        public int IdTour { get; set; }
        public DateTime Time { get; set; }
        public int? VehicleDriverId { get; set; }
        public bool SmokingAllowed { get; set; }
        public bool PetAllowed { get; set; }
        public int AvailableSeats { get; set; }
        public double Distance { get; set; }
        public decimal? Cost { get; set; }
        public string Route { get; set; }
        public string Note { get; set; }

        // Upphafstaður og áfangastaður sótt í fyrirspurnini úr Destination töfluni.
        public string DestToName { get; set; }
        public double DestToLongitude { get; set; }
        public double DestToLatitude { get; set; }

        public string DestFromName { get; set; }
        public double DestFromLongitude { get; set; }
        public double DestFromLatitude { get; set; }
    }
}
